package com.appinterfacelite.mapper;

import com.appinterfacelite.entity.Home_userEntity;
import com.appinterfacelite.entity.Homepage_detailsEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 查询home_user表的ORM映射
 */
@Mapper
public interface Home_userMapper extends BaseMapper<Home_userEntity> {
    @Select("select menu_id from home_user where user_id=#{user_id} order by number desc")
    List<Home_userEntity> getByUserId(String user_id);
}
